#include <iostream>
#include <string>
using namespace std;
#include "Car.h"
#include <clocale>

int main(){

	setlocale(LC_ALL, "swedish");
	
	Car bil1;
	Car bil2("Volvo", 1979, 10000);
	Car bil3 = Car("Saab", 1980, 5000);

	bil1.print();
	bil2.print();
	bil3.print();

	bil1.setBrand("Skoda");
	bil1.setYear(1990);
	bil1.setPrice(20000);

	bil1.print();

	Car bil4;
	bil4.ReadFromConsole();
	bil4.print();

	system("pause");
	return 0;
}